<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    ul {
      padding: 0;
      margin: 0;
      list-style: none;
      margin-top: 100px;
    }

    .progress-bar {
      width: 300px;
      height: 40px;
      border: 1px solid #666;
      text-align: center;
    }

    .progress {
      width: 0%;
      height: 100%;
      background-color: lightgreen;
    }

    .error-info {
      line-height: 40px;
      font-size: 14px;
      color: #333;
    }

    .error-tip {
      color: lightcoral;
    }
  </style>
</head>

<body>
  <!-- <form action="http://localhost:3001/file_upload" method="post" enctype="multipart/form-data">
    <input type="text" name="filename"><br>
    <input type="file" name="file[]" multiple><br>
    <input type="submit" value="上传">
  </form> -->

  <!-- <div id="app"></div> -->

  <input type="file" id="file" multiple>
  <!-- <input type="submit" id="submitBtn" value="上传"> -->
  <h5 class="error-tip"></h5>

  <ul class="progress-wrap">
    <!-- <li class="progress-bar">
      <div class="progress"></div>
      <span class="error-info">文件类型错误</span>
    </li> -->
  </ul>

  <script src="./main.js" type="module"></script>
</body>

</html>